package com.lanxin.hr.mapper;

import com.lanxin.hr.entity.ZzDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanxin.hr.vo.DeptVo;

import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-07-21
 */
public interface ZzDepartmentMapper extends BaseMapper<ZzDepartment> {

    //查询所有的部门信息
    public List<DeptVo> ListDeptVo(Map<String, Object> map);

    //查询部门总记录数
    public int countDept(ZzDepartment department);

    //根据部门id查询部门vo
    public DeptVo getDeptVoById(Integer oid);
}
